// AudioOutput.h: interface for the CAudioOutput class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_AUDIOOUTPUT_H__C872E8B2_6499_478B_A068_075A7D08BCCA__INCLUDED_)
#define AFX_AUDIOOUTPUT_H__C872E8B2_6499_478B_A068_075A7D08BCCA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "stdio.h"
#include "string.h"
#include "AVFormat.h"


class CAudioOutput  
{
public:
	CAudioOutput();
	virtual ~CAudioOutput();

	virtual int Init();
	virtual int Render(void* inbuf, int buf_size, void *data);
	virtual int close();
	virtual int flush();

	int GetStatus(AVOutputStatus* );
	int GetParam(AVOutputParam* );
	int SetParam(AVOutputParam* param);



protected:
	AVOutputParam m_Param;
	AVOutputStatus m_Status;

};

#endif // !defined(AFX_AUDIOOUTPUT_H__C872E8B2_6499_478B_A068_075A7D08BCCA__INCLUDED_)
